#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>
#include <D20Model.h>
#include <CampaignSetting.h>

namespace Ui {
class MainWindow;
}

class MainWindow : public QMainWindow
{
    Q_OBJECT
    
public:
    explicit MainWindow(QWidget *parent = 0);
    ~MainWindow();
    
private slots:
    void on_actionNew_triggered();

    void on_actionOpen_triggered();

    void on_actionSave_As_triggered();

    void on_actionSave_triggered();

    void on_actionClose_triggered();

    void on_actionAdd_Skill_triggered();

    void on_actionAdd_Feat_triggered();

    void on_actionAdd_Special_Ability_triggered();

    void on_actionAdd_Character_Class_triggered();

    void on_actionAdd_Child_Value_triggered();

    void on_actionAdd_Sibling_Value_triggered();

    void on_actionDelete_triggered();

private:
    Ui::MainWindow *ui;

    D20Model* m_model;
    RootItem* m_root;
};

#endif // MAINWINDOW_H
